export default {
     // 修改收货人
  changereceiver(state, payload) {
    state.receiver = payload;
  },
  // 收货人省市区地址
  changeregions(state, payload) {
    state.regions = payload;
  },
  // 收货人具体地址
  changeaddress(state, payload) {
    state.address = payload;
  }, 
  //修改收货人手机号码
  changemobile(state,payload){
    state.mobile=payload;
  },
  //修改默认信息
  changeidDefault(state,payload){
    state.idDefault=payload;
  },
  //修改购物车显示的小红点数量
  changebadge(state,payload){
    state.badge=payload;
  }
}